package com.lagou.edu.feign;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Created by Heweipo on 2021/2/15.
 */
@Component
@Slf4j
public class UserFallback implements UserFeignClient{

    @Override
    public String validate(String token) {

        log.error("用户服务不可用，默认校验失败");

        return null;
    }
}
